package com.hncc.dms.domain.vo;

import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * @author 荣陈
 * @date 2020/9/4 22:24
 */
public class DmsRegistrationVo extends BaseEntity {
    /** id */
    private Long id;
    /** 患者id */
    private Long patientId;
    /**患者姓名*/
    private String name;
    /**病历号*/
    private String medicalRecordNo;
    /** 诊断状态 */
    private Integer endAttendance;
    /** 状态 */
    private Integer status;
    /** 排班id */
    private Long skdId;
    /** 是否需要病历本 */
    private Integer needBook;
    /** 绑定状态 */
    private Integer bindStatus;
    /** 科室id */
    private Long deptId;
    /**科室名称*/
    private String deptName;
    /** 就诊日期 */
    private Date attendanceDate;
    /** 就诊年龄 */
    private String patientAgeStr;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMedicalRecordNo() {
        return medicalRecordNo;
    }

    public void setMedicalRecordNo(String medicalRecordNo) {
        this.medicalRecordNo = medicalRecordNo;
    }
    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }
    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }
    public void setPatientId(Long patientId) {
        this.patientId = patientId;
    }

    public Long getPatientId() {
        return patientId;
    }
    public void setEndAttendance(Integer endAttendance) {
        this.endAttendance = endAttendance;
    }

    public Integer getEndAttendance() {
        return endAttendance;
    }
    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getStatus() {
        return status;
    }
    public void setSkdId(Long skdId) {
        this.skdId = skdId;
    }

    public Long getSkdId() {
        return skdId;
    }
    public void setNeedBook(Integer needBook) {
        this.needBook = needBook;
    }

    public Integer getNeedBook() {
        return needBook;
    }
    public void setBindStatus(Integer bindStatus) {
        this.bindStatus = bindStatus;
    }

    public Integer getBindStatus() {
        return bindStatus;
    }
    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getDeptId() {
        return deptId;
    }
    public void setAttendanceDate(Date attendanceDate) {
        this.attendanceDate = attendanceDate;
    }

    public Date getAttendanceDate() {
        return attendanceDate;
    }
    public void setPatientAgeStr(String patientAgeStr) {
        this.patientAgeStr = patientAgeStr;
    }

    public String getPatientAgeStr() {
        return patientAgeStr;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id" , getId())
                .append("patientId" , getPatientId())
                .append("createTime" , getCreateTime())
                .append("endAttendance" , getEndAttendance())
                .append("status" , getStatus())
                .append("skdId" , getSkdId())
                .append("needBook" , getNeedBook())
                .append("bindStatus" , getBindStatus())
                .append("deptId" , getDeptId())
                .append("attendanceDate" , getAttendanceDate())
                .append("patientAgeStr" , getPatientAgeStr())
                .append("name", getName())
                .append("medicalRecordNo", getMedicalRecordNo())
                .append("deptName", getDeptName())
                .toString();
    }

}
